#ifndef POINT_HEAD
#define POINT_HEAD

#include "../common/common.h"

class Point
{
    public:
        double x, y;
        bool badPoint;

        Point(double x, double y) {
            this->x = x;
            this->y = y;
            this->badPoint = false;
        }

        Point(bool badPoint) {
            this->x = this->y = 0;
            this->badPoint = badPoint;
        }

        Point() { x = y = 0; }

        float toPixelX() {
            return x * unitLength;
        }

        float toPixelY() {
            return y * unitLength;
        }
};


#endif